﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KdbMailer
{
    class UtilityMethods
    {
        public static T ToEnum<T> (string source)
        {
            return (T) Enum.Parse(typeof (T), source);
        }
    }
}
